package cn.com.test.service;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;


import cn.com.test.dao.Banuser;
import cn.com.test.dao.BanuserDAO;
import cn.com.test.daox.BanuserDAOx;

/**
 * @Author zhou
 * @Date Sun Feb 27 10:13:34 CST 2011
 * @to-do 
 */public class BanuserService  {
	
	private static final Logger log = Logger.getLogger(BanuserService.class);
	
	private BanuserDAOx banuserDAOx;
	
	public void setBanuserDAOx(BanuserDAOx banuserDAOx) {
		this.banuserDAOx = banuserDAOx;
	}
	
	public BanuserDAOx getBanuserDAOx() {
		return banuserDAOx;
	}
	
	public static BanuserService getInstance(ApplicationContext ctx) {
		return (BanuserService) ctx.getBean("BanuserService");
	}
}